package com.iot08.common.entity.app;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;
import java.util.Date;

@Data
@Document("device_data_flow")
public class DeviceDataFlow implements Serializable {
    private static final long serialVersionUID = 1L;

    @Field("_id")
    private String id;

    private Integer endDay;

    private Integer monthPlan;

    private Integer packageValue;

    private Integer status;

    private Double nowDataflow;

    private Long queryTime;

    private Long updateTime;

    private Date createTime;

}
